package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.PmsSpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author zhangxiaosan
 * @email 424207204@qq.com
 * @date 2021-04-18 14:21:09
 */
public interface PmsSpuInfoService extends IService<PmsSpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    void saveBatchSpuInfo(PmsSpuInfoEntity spuInfoEntity);

    void up(Long spuId);

    PmsSpuInfoEntity spuInfoBySkuId(Long skuId);
}

